// Course类
class Course {
    private Building building;

    public Course(Building building) {
        this.building = building;
    }
    // 可根据需求添加其他属性和方法
}